home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Palettes / MiscDragViews / MiscViews.subproj / MiscDragView-BackwardCompat.h < prev    next >
Encoding:
Text File  |  1995-04-12  |  1.1 KB  |  40 lines

  1. /*****************************************************************
  2.   CATEGORY:            MiscDragView (BackwardCompatibility)
  3.   
  4.       This category is here to maintain backward compatibility
  5.     with the old version. The setAcceptForeign/Local/SelfDrag:
  6.     and setRetainData: were removed since subclasses generally
  7.     will choose either one or the other and not need to change
  8.     characteristics during runtime.
  9.     
  10.     There are also the old delegate messages which are still
  11.     sent for backward compatibility. Please do use the new ones
  12.     as I am sure these will be removed someday.
  13.     
  14.  * Copyright (C) 1995 Robert Todd Thomas
  15.  * Use is governed by the MiscKit license
  16.  *****************************************************************/
  17.  
  18. #import <appkit/appkit.h>
  19. #import <misckit/MiscDragView.h>
  20.  
  21.  
  22. @interface MiscDragView (BackwardCompatibility)
  23.  
  24. - setAcceptForeignDrag: (BOOL)aBool;
  25. - setAcceptLocalDrag: (BOOL)aBool;
  26. - setAcceptSelfDrag: (BOOL)aBool;
  27. - setRetainData: (BOOL)aBool;
  28.  
  29. @end
  30.  
  31.  
  32. @interface Object (OldMiscDragViewDelegate)
  33.  
  34. - sourceDragInitiated: sender;
  35. - sourceDragFinished: (BOOL)success;
  36. - destinationDragInitiated: sender;
  37. - destinationDragFinished: (BOOL)success;
  38.  
  39. @end 
  40.